package com.xs.smc.entity;

import com.xs.smc.enums.OrderStatus;

public class Order {
    private Long id;
    private OrderStatus status;

    public Order(Long id) {
        this.id = id;
        this.status = OrderStatus.PENDING_CONFIRM;
    }

    // getter & setter
    public Long getId() {
        return id;
    }

    public OrderStatus getStatus() {
        return status;
    }

    public void setStatus(OrderStatus status) {
        this.status = status;
    }
}